Skip to main content

menuKey

Type

message

Summary

Sent to the current card of the defaultStack when the hardware menu button is pressed.

Syntax

menuKey

Description

Handle the menuKey message to perform an action when the menu key is pressed.

The menuKey message is sent to the current card of the defaultStack when the hardware menu button is pressed.

Examples

on menuKey
answer "You pressed the menu key" with "Okay"
end menuKey

property: defaultStack

message: backKey, searchKey

Compatibility and Support

Introduced

LiveCode 5.0.1

OS

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?